import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @Author:RenPu
 * @Date: 2020/2/7 14:40
 * @Version: 1.0
 * @description:
 */
public class PublishDubboServiceApplication {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("classpath:application-provider.xml");
        classPathXmlApplicationContext.start();

        System.out.println("dubbo服务已发布，在20880端口等待客户端的调用！！！！！");
        //让主线程进行挂起
        System.in.read();
    }
}
